import React, { Component } from 'react'
import { Link, Route, Switch } from 'react-router-dom'
import One from './One'
import Two from './Two'

export default class Home extends Component {
    render() {
        return (
            <div>
                Home
                {/* <Link to="/home/homes">第一个</Link>
                <Link to="/home/homes/onee">第二个</Link>

                <div>
                    <Switch>
                        <Route exact path="/home/homes/onee" component = { Two }/>
                        <Route exact path="/home/homes" component = { One }/>
                    </Switch>
                </div> */}
            </div>
        )
    }
}
